
<template>
  <div>
    <header>约课记录</header>
    <van-tabs v-model="activeName">
      <van-tab title="待上课" name="a">内容 1</van-tab>
      <van-tab title="已上课" name="b">内容 2</van-tab>
      <van-tab title="已取消" name="c">内容 3</van-tab>
    </van-tabs>
  </div>
</template>

<script>
import { Tab, Tabs } from "vant";
export default {
  name: "record",
  components: {
    [Tab.name]: Tab,
    [Tabs.name]: Tabs,
  },
};
</script>

<style lang="scss" scoped>
    header{
        width: 100%;
        background-color: #fff;
        text-align: center;
        font-size: 20px;
    }
</style>